﻿<controls:ChildWindow x:Class="VAdvantage.Search.PAttributeInstance"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           Title="PAttributeInstance" xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <my:VCheckBox Content="CheckBox" Height="Auto" HorizontalAlignment="Right" Margin="0,15,10,5" Name="chkShowAll" VerticalAlignment="Top" Click="chkShowAll_Click" />
        <my:VDataGrid AutoGenerateColumns="True" Grid.Row="1" Height="Auto" HorizontalAlignment="Stretch" Margin="5,0,5,0" Name="vdgvRecords" VerticalAlignment="Stretch" Width="Auto" MouseLeftButtonDown="vdgvRecords_MouseLeftButtonDown" SelectionChanged="vdgvRecords_SelectionChanged" />
        <my:VImage  Grid.Row="2" Height="35" HorizontalAlignment="Right" Margin="0,5,5,5" Name="btnok" VerticalAlignment="Stretch" Width="35" Icon="/VAdvantage;component/Images/ok-login.png" Click="btnok_Click" />
        <my:VImage  Grid.Row="2" Height="35" HorizontalAlignment="Right" Margin="0,5,45,5" Name="btnCancel" VerticalAlignment="Stretch" Width="35" Icon="/VAdvantage;component/Images/cancel_up.png" Click="btnCancel_Click" />
    </Grid>
</controls:ChildWindow>